<?php /* Smarty version 2.6.26, created on 2010-10-06 01:48:20
         compiled from student.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'student.tpl', 15, false),array('modifier', 'eF_truncate', 'student.tpl', 75, false),array('function', 'eF_template_printBlock', 'student.tpl', 40, false),array('function', 'cycle', 'student.tpl', 279, false),array('function', 'eF_template_printSide', 'student.tpl', 472, false),array('function', 'eF_template_printMessageBlock', 'student.tpl', 520, false),)), $this); ?>


<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php if ($_SESSION['s_lessons_ID']): ?>
 <?php $this->assign('lessonName', $this->_tpl_vars['T_CURRENT_LESSON']->lesson['name']); ?>
    <?php if ($this->_tpl_vars['T_NO_HORIZONTAL_MENU']): ?><?php $this->assign('title_onclick', "top.sideframe.hideAllLessonSpecific();"); ?><?php endif; ?>
  <?php $this->assign('title', "<a class = 'titleLink' title = '".(@_CHANGELESSON)."' href = '".($_SERVER['PHP_SELF'])."?ctg=lessons' onclick = '".($this->_tpl_vars['title_onclick'])."'>".(@_MYCOURSES)."</a><span>&nbsp;&raquo;&nbsp;</span>"); ?>
  <?php if (isset ( $this->_tpl_vars['T_CURRENT_COURSE_NAME'] )): ?>
   <?php $this->assign('titleCourse', ($this->_tpl_vars['T_CURRENT_COURSE_NAME'])."&nbsp;&raquo;&nbsp;"); ?>
   <?php $this->assign('title', ($this->_tpl_vars['title'])."<a class = 'titleLink' title = '".($this->_tpl_vars['T_CURRENT_COURSE_NAME'])."' href ='".($_SERVER['PHP_SELF'])."?ctg=control_panel'>".($this->_tpl_vars['T_CURRENT_COURSE_NAME'])."</a><span>&nbsp;&raquo;&nbsp;</span>"); ?>
  <?php endif; ?>
  <?php $this->assign('title', ($this->_tpl_vars['title'])."<a class = 'titleLink' title = '".($this->_tpl_vars['T_CURRENT_CATEGORY_PATH'])."&nbsp;&raquo;&nbsp;".($this->_tpl_vars['titleCourse']).($this->_tpl_vars['T_CURRENT_LESSON']->lesson['name'])."' href ='".($_SERVER['PHP_SELF'])."?ctg=control_panel'>".($this->_tpl_vars['lessonName'])."</a>"); ?>
 <?php else: ?>
  <?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='<a class = "titleLink" title = "')) ? $this->_run_mod_handler('cat', true, $_tmp, @_HOME) : smarty_modifier_cat($_tmp, @_HOME)))) ? $this->_run_mod_handler('cat', true, $_tmp, '" href ="') : smarty_modifier_cat($_tmp, '" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=control_panel">') : smarty_modifier_cat($_tmp, '?ctg=control_panel">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_HOME) : smarty_modifier_cat($_tmp, @_HOME)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?>
 <?php endif; ?>

<?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'control_panel' )): ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_OP'] == 'search'): ?><?php echo ''; ?><?php $this->assign('title', $this->_tpl_vars['title']); ?><?php echo ''; ?><?php elseif (isset ( $this->_tpl_vars['T_OP_MODULE'] )): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=control_panel&op=') : smarty_modifier_cat($_tmp, '?ctg=control_panel&op=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_OP']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_OP'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_OP_MODULE']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_OP_MODULE'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/control_panel.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'lesson_information' )): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=lesson_information">') : smarty_modifier_cat($_tmp, '?ctg=lesson_information">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_LESSONINFORMATION) : smarty_modifier_cat($_tmp, @_LESSONINFORMATION)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/lesson_information.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'digital_library' )): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=digital_library">') : smarty_modifier_cat($_tmp, '?ctg=digital_library">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_SHAREDFILES) : smarty_modifier_cat($_tmp, @_SHAREDFILES)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php ob_start(); ?><?php echo '<tr><td class = "moduleCell">'; ?><?php ob_start(); ?><?php echo ''; ?><?php echo $this->_tpl_vars['T_FILE_MANAGER']; ?><?php echo ''; ?><?php $this->_smarty_vars['capture']['t_digital_library'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php echo smarty_function_eF_template_printBlock(array('title' => @_SHAREDFILES,'data' => $this->_smarty_vars['capture']['t_digital_library'],'image' => "32x32/file_explorer.png"), $this);?><?php echo '</td></tr>'; ?><?php $this->_smarty_vars['capture']['moduleDigitalLibraryFull'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'news' )): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=news">') : smarty_modifier_cat($_tmp, '?ctg=news">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_ANNOUNCEMENTS) : smarty_modifier_cat($_tmp, @_ANNOUNCEMENTS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/news.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'progress' )): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=progress">') : smarty_modifier_cat($_tmp, '?ctg=progress">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_PROGRESS) : smarty_modifier_cat($_tmp, @_PROGRESS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_USER_LESSONS_INFO']): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href ='".($_SERVER['PHP_SELF'])."?ctg=progress&edit_user=".($_GET['edit_user'])."'>".(@_PROGRESSFORUSER)."1: #filter:login-".($this->_tpl_vars['T_USER_LESSONS_INFO']['users_LOGIN'])."#</a>"); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/progress.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'comments' )): ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/comments.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'content' )): ?><?php echo ''; ?><?php if ($_GET['add']): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=content&add=1">') : smarty_modifier_cat($_tmp, '?ctg=content&add=1">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_ADDCONTENT) : smarty_modifier_cat($_tmp, @_ADDCONTENT)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php elseif ($_GET['edit']): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href ='".($_SERVER['PHP_SELF'])."?ctg=content&view_unit=".($_GET['edit'])."'>".($this->_tpl_vars['T_ENTITY_FORM']['name']['value'])."</a>"); ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=content&edit=') : smarty_modifier_cat($_tmp, '?ctg=content&edit=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['edit']) : smarty_modifier_cat($_tmp, $_GET['edit'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_EDITCONTENT) : smarty_modifier_cat($_tmp, @_EDITCONTENT)))) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;<span class="innerTableName">&quot;') : smarty_modifier_cat($_tmp, '&nbsp;<span class="innerTableName">&quot;')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_ENTITY_FORM']['name']['value']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_ENTITY_FORM']['name']['value'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '&quot;</span></a>') : smarty_modifier_cat($_tmp, '&quot;</span></a>'))); ?><?php echo ''; ?><?php elseif ($_GET['type'] == 'theory'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, ' &raquo; <a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, ' &raquo; <a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=content&type=theory">') : smarty_modifier_cat($_tmp, '?ctg=content&type=theory">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_THEORY) : smarty_modifier_cat($_tmp, @_THEORY)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php elseif ($_GET['type'] == 'examples'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, ' &raquo; <a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, ' &raquo; <a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=content&type=examples">') : smarty_modifier_cat($_tmp, '?ctg=content&type=examples">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_EXAMPLES) : smarty_modifier_cat($_tmp, @_EXAMPLES)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php elseif ($_GET['type'] == 'tests'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, ' &raquo; <a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, ' &raquo; <a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=content&type=tests">') : smarty_modifier_cat($_tmp, '?ctg=content&type=tests">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_TESTS) : smarty_modifier_cat($_tmp, @_TESTS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php elseif (! $this->_tpl_vars['T_UNIT']): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, ' &raquo; <a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, ' &raquo; <a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=content">') : smarty_modifier_cat($_tmp, '?ctg=content">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_CONTENT) : smarty_modifier_cat($_tmp, @_CONTENT)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php unset($this->_sections['parents_list']);
$this->_sections['parents_list']['name'] = 'parents_list';
$this->_sections['parents_list']['loop'] = is_array($_loop=$this->_tpl_vars['T_PARENT_LIST']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['parents_list']['step'] = ((int)"-1") == 0 ? 1 : (int)"-1";
$this->_sections['parents_list']['show'] = true;
$this->_sections['parents_list']['max'] = $this->_sections['parents_list']['loop'];
$this->_sections['parents_list']['start'] = $this->_sections['parents_list']['step'] > 0 ? 0 : $this->_sections['parents_list']['loop']-1;
if ($this->_sections['parents_list']['show']) {
    $this->_sections['parents_list']['total'] = min(ceil(($this->_sections['parents_list']['step'] > 0 ? $this->_sections['parents_list']['loop'] - $this->_sections['parents_list']['start'] : $this->_sections['parents_list']['start']+1)/abs($this->_sections['parents_list']['step'])), $this->_sections['parents_list']['max']);
    if ($this->_sections['parents_list']['total'] == 0)
        $this->_sections['parents_list']['show'] = false;
} else
    $this->_sections['parents_list']['total'] = 0;
if ($this->_sections['parents_list']['show']):

            for ($this->_sections['parents_list']['index'] = $this->_sections['parents_list']['start'], $this->_sections['parents_list']['iteration'] = 1;
                 $this->_sections['parents_list']['iteration'] <= $this->_sections['parents_list']['total'];
                 $this->_sections['parents_list']['index'] += $this->_sections['parents_list']['step'], $this->_sections['parents_list']['iteration']++):
$this->_sections['parents_list']['rownum'] = $this->_sections['parents_list']['iteration'];
$this->_sections['parents_list']['index_prev'] = $this->_sections['parents_list']['index'] - $this->_sections['parents_list']['step'];
$this->_sections['parents_list']['index_next'] = $this->_sections['parents_list']['index'] + $this->_sections['parents_list']['step'];
$this->_sections['parents_list']['first']      = ($this->_sections['parents_list']['iteration'] == 1);
$this->_sections['parents_list']['last']       = ($this->_sections['parents_list']['iteration'] == $this->_sections['parents_list']['total']);
?><?php echo ''; ?><?php $this->assign('truncated_name', ((is_array($_tmp=$this->_tpl_vars['T_PARENT_LIST'][$this->_sections['parents_list']['index']]['name'])) ? $this->_run_mod_handler('eF_truncate', true, $_tmp, 40) : smarty_modifier_eF_truncate($_tmp, 40))); ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_PARENT_LIST'][$this->_sections['parents_list']['index']]['data'] != '' || $this->_tpl_vars['T_PARENT_LIST'][$this->_sections['parents_list']['index']]['ctg_type'] == 'tests'): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = \"titleLink\" href = \"".($_SERVER['PHP_SELF'])."?ctg=content&view_unit=".($this->_tpl_vars['T_PARENT_LIST'][$this->_sections['parents_list']['index']]['id'])."\" title = \"".($this->_tpl_vars['T_PARENT_LIST'][$this->_sections['parents_list']['index']]['name'])."\">".($this->_tpl_vars['truncated_name'])."</a>"); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = \"inactiveLink\" href = \"javascript:void(0)\" title = \"".($this->_tpl_vars['T_PARENT_LIST'][$this->_sections['parents_list']['index']]['name'])." (".(@_EMPTYUNIT).")\">".($this->_tpl_vars['truncated_name'])."</a>"); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endfor; endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/common_content.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'projects' )): ?><?php echo ''; ?><?php $this->assign('category', 'lessons'); ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, ' &raquo; <a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, ' &raquo; <a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=projects">') : smarty_modifier_cat($_tmp, '?ctg=projects">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_PROJECTS) : smarty_modifier_cat($_tmp, @_PROJECTS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php if ($_GET['view_project']): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=projects&view_project=') : smarty_modifier_cat($_tmp, '?ctg=projects&view_project=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['view_project']) : smarty_modifier_cat($_tmp, $_GET['view_project'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_VIEWPROJECT) : smarty_modifier_cat($_tmp, @_VIEWPROJECT)))) ? $this->_run_mod_handler('cat', true, $_tmp, ' &quot;') : smarty_modifier_cat($_tmp, ' &quot;')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_CURRENT_PROJECT']->project['title']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_CURRENT_PROJECT']->project['title'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '&quot;</a>') : smarty_modifier_cat($_tmp, '&quot;</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/projects.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'tests' )): ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/tests.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'feedback' )): ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/tests.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'glossary' )): ?><?php echo ''; ?><?php $this->assign('category', 'lessons'); ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=glossary">') : smarty_modifier_cat($_tmp, '?ctg=glossary">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_GLOSSARY) : smarty_modifier_cat($_tmp, @_GLOSSARY)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/glossary.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'survey' )): ?><?php echo ''; ?><?php if (( $_GET['screen_survey'] == '1' )): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class="titleLink" href ="') : smarty_modifier_cat($_tmp, '<a class="titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=survey&screen_survey=1&surveys_ID=') : smarty_modifier_cat($_tmp, '?ctg=survey&screen_survey=1&surveys_ID=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['surveys_ID']) : smarty_modifier_cat($_tmp, $_GET['surveys_ID'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_SURVEY) : smarty_modifier_cat($_tmp, @_SURVEY)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>&nbsp;&raquo&nbsp;<a class="titleLink" href="') : smarty_modifier_cat($_tmp, '</a>&nbsp;&raquo&nbsp;<a class="titleLink" href="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=survey&screen_survey=1&surveys_ID=') : smarty_modifier_cat($_tmp, '?ctg=survey&screen_survey=1&surveys_ID=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['surveys_ID']) : smarty_modifier_cat($_tmp, $_GET['surveys_ID'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_SURVEYNAME']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_SURVEYNAME'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( $_GET['screen_survey'] == '2' )): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class="titleLink" href ="') : smarty_modifier_cat($_tmp, '<a class="titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['REQUEST_URI']) : smarty_modifier_cat($_tmp, $_SERVER['REQUEST_URI'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_SURVEY) : smarty_modifier_cat($_tmp, @_SURVEY)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>&nbsp;&raquo&nbsp;<a class="titleLink" href="') : smarty_modifier_cat($_tmp, '</a>&nbsp;&raquo&nbsp;<a class="titleLink" href="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['REQUEST_URI']) : smarty_modifier_cat($_tmp, $_SERVER['REQUEST_URI'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_SURVEYNAME']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_SURVEYNAME'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( $_GET['screen_survey'] == '3' )): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_SURVEY) : smarty_modifier_cat($_tmp, @_SURVEY))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "student/survey.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'lessons' )): ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_OP'] == 'tests'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=lessons&op=tests">') : smarty_modifier_cat($_tmp, '?ctg=lessons&op=tests">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_SKILLGAPTESTS) : smarty_modifier_cat($_tmp, @_SKILLGAPTESTS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php if (isset ( $_GET['solve_test'] )): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=lessons&op=tests&solve_test=') : smarty_modifier_cat($_tmp, '?ctg=lessons&op=tests&solve_test=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['solve_test']) : smarty_modifier_cat($_tmp, $_GET['solve_test'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_TEST_DATA']->test['name']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_TEST_DATA']->test['name'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php if ($_GET['course']): ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_OP'] == course_info): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?".($this->_tpl_vars['T_BASE_URL'])."&op=course_info'>".(@_INFORMATIONFORCOURSE)." &quot;".($this->_tpl_vars['T_CURRENT_COURSE']->course['name'])."&quot;</a>"); ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['T_OP'] == course_certificates): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?".($this->_tpl_vars['T_BASE_URL'])."&op=course_certificates'>".(@_CERTIFICATESFORCOURSE)." &quot;".($this->_tpl_vars['T_CURRENT_COURSE']->course['name'])."&quot;</a>"); ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['T_OP'] == format_certificate): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?".($this->_tpl_vars['T_BASE_URL'])."&op=format_certificate'>".(@_FORMATCERTIFICATEFORCOURSE)." &quot;".($this->_tpl_vars['T_CURRENT_COURSE']->course['name'])."&quot;</a>"); ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['T_OP'] == course_rules): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?".($this->_tpl_vars['T_BASE_URL'])."&op=course_rules'>".(@_RULESFORCOURSE)." &quot;".($this->_tpl_vars['T_CURRENT_COURSE']->course['name'])."&quot;</a>"); ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['T_OP'] == course_order): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?".($this->_tpl_vars['T_BASE_URL'])."&op=course_order'>".(@_ORDERFORCOURSE)." &quot;".($this->_tpl_vars['T_CURRENT_COURSE']->course['name'])."&quot;</a>"); ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['T_OP'] == course_scheduling): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?".($this->_tpl_vars['T_BASE_URL'])."&op=course_scheduling'>".(@_SCHEDULINGFORCOURSE)." &quot;".($this->_tpl_vars['T_CURRENT_COURSE']->course['name'])."&quot;</a>"); ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['T_OP'] == export_course): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?".($this->_tpl_vars['T_BASE_URL'])."&op=export_course'>".(@_EXPORTCOURSE)." &quot;".($this->_tpl_vars['T_CURRENT_COURSE']->course['name'])."&quot;</a>"); ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['T_OP'] == import_course): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?".($this->_tpl_vars['T_BASE_URL'])."&op=import_course'>".(@_IMPORTCOURSE)." &quot;".($this->_tpl_vars['T_CURRENT_COURSE']->course['name'])."&quot;</a>"); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_OP'] == 'search'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class = "titleLink" href ="javascript:void(0)">') : smarty_modifier_cat($_tmp, '<a class = "titleLink" href ="javascript:void(0)">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_SEARCHRESULTS) : smarty_modifier_cat($_tmp, @_SEARCHRESULTS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($_GET['catalog']): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?ctg=lessons&catalog=1'>".(@_COURSECATALOG)."</a>"); ?><?php echo ''; ?><?php if ($_GET['checkout']): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?ctg=lessons&catalog=1&checkout=1'>".(@_REVIEWANDCHECKOUT)."</a>"); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/lessons_list.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_CTG'] == 'calendar'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=calendar">') : smarty_modifier_cat($_tmp, '?ctg=calendar">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_CALENDAR) : smarty_modifier_cat($_tmp, @_CALENDAR)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php echo ''; ?><?php ob_start(); ?><?php echo '<tr><td class = "moduleCell">'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/calendar.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php echo smarty_function_eF_template_printBlock(array('title' => $this->_tpl_vars['T_CALENDAR_TITLE'],'data' => $this->_smarty_vars['capture']['t_calendar_code'],'image' => '32x32/calendar.png','main_options' => $this->_tpl_vars['T_CALENDAR_OPTIONS'],'help' => 'Calendar'), $this);?><?php echo '</td></tr>'; ?><?php $this->_smarty_vars['capture']['moduleCalendarPage'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_CTG'] == 'statistics'): ?><?php echo ''; ?><?php $this->assign('category', 'mypage'); ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=statistics">') : smarty_modifier_cat($_tmp, '?ctg=statistics">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_STATISTICS) : smarty_modifier_cat($_tmp, @_STATISTICS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php if ($_GET['option'] == 'user'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=statistics&option=user">') : smarty_modifier_cat($_tmp, '?ctg=statistics&option=user">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_USERSTATISTICS) : smarty_modifier_cat($_tmp, @_USERSTATISTICS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php if ($_GET['sel_user']): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=statistics&option=user&sel_user=') : smarty_modifier_cat($_tmp, '?ctg=statistics&option=user&sel_user=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['sel_user']) : smarty_modifier_cat($_tmp, $_GET['sel_user'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['sel_user']) : smarty_modifier_cat($_tmp, $_GET['sel_user'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php elseif ($_GET['option'] == 'lesson'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=statistics&option=lesson">') : smarty_modifier_cat($_tmp, '?ctg=statistics&option=lesson">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_LESSONSTATISTICS) : smarty_modifier_cat($_tmp, @_LESSONSTATISTICS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php elseif ($_GET['option'] == 'test'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=statistics&option=test">') : smarty_modifier_cat($_tmp, '?ctg=statistics&option=test">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_TESTSTATISTICS) : smarty_modifier_cat($_tmp, @_TESTSTATISTICS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php elseif ($_GET['option'] == 'branches'): ?><?php echo ''; ?><?php elseif ($_GET['option'] == 'advanced_user_reports'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=statistics&option=advanced_user_reports">') : smarty_modifier_cat($_tmp, '?ctg=statistics&option=advanced_user_reports">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_ADVANCEDUSERREPORTS) : smarty_modifier_cat($_tmp, @_ADVANCEDUSERREPORTS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php elseif ($_GET['option'] == 'course'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=statistics&option=course">') : smarty_modifier_cat($_tmp, '?ctg=statistics&option=course">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_COURSESTATISTICS) : smarty_modifier_cat($_tmp, @_COURSESTATISTICS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php if (isset ( $_GET['sel_course'] )): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=statistics&option=course&sel_course=') : smarty_modifier_cat($_tmp, '?ctg=statistics&option=course&sel_course=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['sel_course']) : smarty_modifier_cat($_tmp, $_GET['sel_course'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_COURSE_INFO']['name']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_COURSE_INFO']['name'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php ob_start(); ?><?php echo '<tr><td class = "moduleCell">'; ?><?php if ($this->_tpl_vars['T_TEST_SOLVED']): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?ctg=statistics&show_solved_test=".($this->_tpl_vars['T_SOLVED_TEST_DATA']['id'])."&lesson=".($_GET['lesson'])."'>".(@_VIEWSOLVEDTEST).": &quot;".($this->_tpl_vars['T_CURRENT_TEST']['name'])."&quot; ".(@_BYUSER).": #filter:login-".($this->_tpl_vars['T_SOLVED_TEST_DATA']['users_LOGIN'])."#</a>"); ?><?php echo ''; ?><?php echo $this->_tpl_vars['T_TEST_SOLVED']; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/statistics.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo '</td></tr>'; ?><?php $this->_smarty_vars['capture']['moduleStatistics'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'forum' )): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=forum">') : smarty_modifier_cat($_tmp, '?ctg=forum">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_FORUMS) : smarty_modifier_cat($_tmp, @_FORUMS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php $_from = $this->_tpl_vars['T_FORUM_PARENTS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['title_loop'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['title_loop']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
        $this->_foreach['title_loop']['iteration']++;
?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=forum&forum=') : smarty_modifier_cat($_tmp, '?ctg=forum&forum=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['key']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['key'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['item']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['item'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo ''; ?><?php if ($_GET['topic']): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=forum&topic=') : smarty_modifier_cat($_tmp, '?ctg=forum&topic=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['topic']) : smarty_modifier_cat($_tmp, $_GET['topic'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_TOPIC']['title']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_TOPIC']['title'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php elseif ($_GET['poll']): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, '<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=forum&poll=') : smarty_modifier_cat($_tmp, '?ctg=forum&poll=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['poll']) : smarty_modifier_cat($_tmp, $_GET['poll'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_POLL']['title']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_POLL']['title'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/forum.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'messages' )): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?ctg=messages'>".(@_MESSAGES)."</a>"); ?><?php echo ''; ?><?php if ($_GET['view']): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?ctg=messages&view=".($_GET['view'])."'>".($this->_tpl_vars['T_PERSONALMESSAGE']['title'])."</a>"); ?><?php echo ''; ?><?php elseif (! $_GET['folders'] && $_GET['add']): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href = '".($_SERVER['PHP_SELF'])."?ctg=messages&add=1'>".(@_NEWMESSAGE)."</a>"); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/messages.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_CTG'] == 'personal'): ?><?php echo ''; ?><?php $this->assign('category', 'mypage'); ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=personal">') : smarty_modifier_cat($_tmp, '?ctg=personal">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_MYSETTINGS) : smarty_modifier_cat($_tmp, @_MYSETTINGS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php ob_start(); ?><?php echo '<tr><td class = "moduleCell">'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/personal.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo '</td></tr>'; ?><?php $this->_smarty_vars['capture']['modulePersonal'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_CTG_MODULE']): ?><?php echo ''; ?><?php $this->assign('category', 'lessons'); ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class="titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class="titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=') : smarty_modifier_cat($_tmp, '?ctg=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_CTG']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_CTG'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_CTG_MODULE']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_CTG_MODULE'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php ob_start(); ?><?php echo '<tr><td class = "moduleCell">'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp=@G_MODULESPATH)) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['T_CTG']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['T_CTG'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '/module.tpl') : smarty_modifier_cat($_tmp, '/module.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo '</td></tr>'; ?><?php $this->_smarty_vars['capture']['importedModule'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php echo ''; ?><?php echo ''; ?><?php echo ''; ?><?php echo ''; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'lessons_select' )): ?><?php echo ''; ?><?php $this->assign('category', 'lessons'); ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='<a class="titleLink" href ="')) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=lessons_select">') : smarty_modifier_cat($_tmp, '?ctg=lessons_select">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_LESSONSELECT) : smarty_modifier_cat($_tmp, @_LESSONSELECT)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php ob_start(); ?><?php echo ''; ?><?php ob_start(); ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['T_USER_TO_LESSON_FORM'] )): ?><?php echo ''; ?><?php if ($_SESSION['s_type'] == 'administrator' || ( @G_VERSIONTYPE == 'enterprise' && $this->_tpl_vars['T_CTG'] != 'personal' )): ?><?php echo '<form method="post" action="'; ?><?php echo $_SERVER['PHP_SELF']; ?><?php echo '?ctg=users&edit_user='; ?><?php echo $_GET['edit_user']; ?><?php echo '">'; ?><?php else: ?><?php echo '<form method="post" action="'; ?><?php echo $_SERVER['PHP_SELF']; ?><?php echo '?ctg=personal&edit_user='; ?><?php echo $_GET['edit_user']; ?><?php echo '">'; ?><?php endif; ?><?php echo '<table border = "0" width = "100%" class = "sortedTable" sortBy = "0"><tr class = "topTitle"><td class = "topTitle">'; ?><?php echo @_NAME; ?><?php echo '</td><td>'; ?><?php echo @_PARENTDIRECTIONS; ?><?php echo '</td>'; ?><?php if ($_SESSION['s_type'] == 'administrator'): ?><?php echo '<td class = "topTitle">'; ?><?php echo @_USERTYPE; ?><?php echo '</td><td class = "topTitle centerAlign">'; ?><?php echo @_STATUS; ?><?php echo '</td>'; ?><?php elseif (@G_VERSIONTYPE != 'enterprise'): ?><?php echo '<td class = "topTitle" align = "center" >'; ?><?php echo @_PRICE; ?><?php echo '</td>'; ?><?php endif; ?><?php echo '<td class = "topTitle" align = "center">'; ?><?php echo @_CHECK; ?><?php echo '</td></tr>'; ?><?php $_from = $this->_tpl_vars['T_USER_TO_LESSON_FORM']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['users_to_lessons_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['users_to_lessons_list']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['lesson']):
        $this->_foreach['users_to_lessons_list']['iteration']++;
?><?php echo ''; ?><?php echo '<tr class = "'; ?><?php echo smarty_function_cycle(array('values' => "oddRowColor, evenRowColor"), $this);?><?php echo '"><td>'; ?><?php if (isset ( $this->_tpl_vars['lesson']['info'] )): ?><?php echo ''; ?><?php if ($this->_tpl_vars['lesson']['from_timestamp'] == 0 && $this->_tpl_vars['lesson']['active'] == 1): ?><?php echo '<a href = "javascript:void(0)" class = "info nonEmptyLesson" style="color:red;">'; ?><?php echo $this->_tpl_vars['lesson']['name']; ?><?php echo ''; ?><?php else: ?><?php echo '<a href = "javascript:void(0)" class = "info nonEmptyLesson">'; ?><?php echo $this->_tpl_vars['lesson']['name']; ?><?php echo ''; ?><?php endif; ?><?php echo '<img class = "tooltip" border = "0" src="/images/others/tooltip_arrow.gif"/><span class = "tooltipSpan">'; ?><?php if (isset ( $this->_tpl_vars['lesson']['info']['general_description'] )): ?><?php echo '<strong>'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=@_GENERALDESCRIPTION)) ? $this->_run_mod_handler('cat', true, $_tmp, '</strong>:&nbsp;') : smarty_modifier_cat($_tmp, '</strong>:&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lesson']['info']['general_description']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lesson']['info']['general_description'])); ?><?php echo '<br />'; ?><?php endif; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['lesson']['info']['assessment'] )): ?><?php echo ' <strong>'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=@_ASSESSMENT)) ? $this->_run_mod_handler('cat', true, $_tmp, '</strong>:&nbsp;') : smarty_modifier_cat($_tmp, '</strong>:&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lesson']['info']['assessment']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lesson']['info']['assessment'])); ?><?php echo '<br/>'; ?><?php endif; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['lesson']['info']['objectives'] )): ?><?php echo ' <strong>'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=@_OBJECTIVES)) ? $this->_run_mod_handler('cat', true, $_tmp, '</strong>:&nbsp;') : smarty_modifier_cat($_tmp, '</strong>:&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lesson']['info']['objectives']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lesson']['info']['objectives'])); ?><?php echo '<br/>'; ?><?php endif; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['lesson']['info']['lesson_topics'] )): ?><?php echo ' <strong>'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=@_LESSONTOPICS)) ? $this->_run_mod_handler('cat', true, $_tmp, '</strong>:&nbsp;') : smarty_modifier_cat($_tmp, '</strong>:&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lesson']['info']['lesson_topics']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lesson']['info']['lesson_topics'])); ?><?php echo '<br/>'; ?><?php endif; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['lesson']['info']['resources'] )): ?><?php echo ' <strong>'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=@_RESOURCES)) ? $this->_run_mod_handler('cat', true, $_tmp, '</strong>:&nbsp;') : smarty_modifier_cat($_tmp, '</strong>:&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lesson']['info']['resources']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lesson']['info']['resources'])); ?><?php echo '<br/>'; ?><?php endif; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['lesson']['info']['other_info'] )): ?><?php echo ' <strong>'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=@_OTHERINFO)) ? $this->_run_mod_handler('cat', true, $_tmp, '</strong>:&nbsp;') : smarty_modifier_cat($_tmp, '</strong>:&nbsp;')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lesson']['info']['other_info']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lesson']['info']['other_info'])); ?><?php echo '<br/>'; ?><?php endif; ?><?php echo '</span></a>'; ?><?php else: ?><?php echo ''; ?><?php if ($this->_tpl_vars['lesson']['from_timestamp'] == 0 && $this->_tpl_vars['lesson']['active'] == 1): ?><?php echo '<span style="color:red">'; ?><?php echo $this->_tpl_vars['lesson']['name']; ?><?php echo '</span>'; ?><?php else: ?><?php echo ''; ?><?php echo ''; ?><?php echo $this->_tpl_vars['lesson']['name']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '</td><td>'; ?><?php unset($this->_sections['directions_list']);
$this->_sections['directions_list']['name'] = 'directions_list';
$this->_sections['directions_list']['loop'] = is_array($_loop=$this->_tpl_vars['lesson']['directions_ID']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['directions_list']['show'] = true;
$this->_sections['directions_list']['max'] = $this->_sections['directions_list']['loop'];
$this->_sections['directions_list']['step'] = 1;
$this->_sections['directions_list']['start'] = $this->_sections['directions_list']['step'] > 0 ? 0 : $this->_sections['directions_list']['loop']-1;
if ($this->_sections['directions_list']['show']) {
    $this->_sections['directions_list']['total'] = $this->_sections['directions_list']['loop'];
    if ($this->_sections['directions_list']['total'] == 0)
        $this->_sections['directions_list']['show'] = false;
} else
    $this->_sections['directions_list']['total'] = 0;
if ($this->_sections['directions_list']['show']):

            for ($this->_sections['directions_list']['index'] = $this->_sections['directions_list']['start'], $this->_sections['directions_list']['iteration'] = 1;
                 $this->_sections['directions_list']['iteration'] <= $this->_sections['directions_list']['total'];
                 $this->_sections['directions_list']['index'] += $this->_sections['directions_list']['step'], $this->_sections['directions_list']['iteration']++):
$this->_sections['directions_list']['rownum'] = $this->_sections['directions_list']['iteration'];
$this->_sections['directions_list']['index_prev'] = $this->_sections['directions_list']['index'] - $this->_sections['directions_list']['step'];
$this->_sections['directions_list']['index_next'] = $this->_sections['directions_list']['index'] + $this->_sections['directions_list']['step'];
$this->_sections['directions_list']['first']      = ($this->_sections['directions_list']['iteration'] == 1);
$this->_sections['directions_list']['last']       = ($this->_sections['directions_list']['iteration'] == $this->_sections['directions_list']['total']);
?><?php echo ''; ?><?php if ($this->_sections['directions_list']['last']): ?><?php echo ''; ?><?php echo $this->_tpl_vars['lesson']['directions_ID'][$this->_sections['directions_list']['index']]['name']; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo $this->_tpl_vars['lesson']['directions_ID'][$this->_sections['directions_list']['index']]['name']; ?><?php echo ' ->'; ?><?php endif; ?><?php echo ''; ?><?php endfor; endif; ?><?php echo '</td>'; ?><?php echo ''; ?><?php if ($_SESSION['s_type'] == 'administrator'): ?><?php echo '<td><select name = "type_'; ?><?php echo $this->_tpl_vars['lesson']['id']; ?><?php echo '">'; ?><?php $_from = $this->_tpl_vars['T_ROLES_ARRAY']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['roles_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['roles_list']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['role_key'] => $this->_tpl_vars['role_item']):
        $this->_foreach['roles_list']['iteration']++;
?><?php echo ''; ?><?php if (( $this->_tpl_vars['lesson']['user_type'] == $this->_tpl_vars['role_key'] )): ?><?php echo '<option value = "'; ?><?php echo $this->_tpl_vars['role_key']; ?><?php echo '" selected>'; ?><?php echo $this->_tpl_vars['role_item']; ?><?php echo '</option>'; ?><?php else: ?><?php echo '<option value = "'; ?><?php echo $this->_tpl_vars['role_key']; ?><?php echo '">'; ?><?php echo $this->_tpl_vars['role_item']; ?><?php echo '</option>'; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '</select></td><td align = "center">'; ?><?php if ($this->_tpl_vars['lesson']['from_timestamp'] == 0 && $this->_tpl_vars['lesson']['active'] == 1): ?><?php echo '<img src = "/images/16x16/warning.png" title = "'; ?><?php echo @_APPLICATIONPENDING; ?><?php echo '" alt = "'; ?><?php echo @_APPLICATIONPENDING; ?><?php echo '"/>'; ?><?php else: ?><?php echo '<img src = "/images/16x16/success.png" title = "'; ?><?php echo @_NORMALSTATUS; ?><?php echo '" alt = "'; ?><?php echo @_NORMALSTATUS; ?><?php echo '"/>'; ?><?php endif; ?><?php echo '</td>'; ?><?php elseif ($_GET['ctg'] == 'personal' && @G_VERSIONTYPE != 'enterprise'): ?><?php echo '<td align="center">'; ?><?php if ($this->_tpl_vars['lesson']['price'] == 0): ?><?php echo ''; ?><?php echo @_FREE; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo $this->_tpl_vars['lesson']['price']; ?><?php echo ' '; ?><?php echo $this->_tpl_vars['T_CONFIGURATION']['currency']; ?><?php echo ''; ?><?php endif; ?><?php echo '</td>'; ?><?php endif; ?><?php echo '<td align = "center">'; ?><?php if ($_GET['ctg'] == 'personal'): ?><?php echo ''; ?><?php if ($this->_tpl_vars['lesson']['active'] == 1): ?><?php echo '<input class = "inputCheckBox" type = "checkbox" disabled name = "'; ?><?php echo $this->_tpl_vars['lesson']['id']; ?><?php echo '" checked>'; ?><?php else: ?><?php echo '<input class = "inputCheckBox" type = "checkbox" name = "'; ?><?php echo $this->_tpl_vars['lesson']['id']; ?><?php echo '">'; ?><?php endif; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php if ($this->_tpl_vars['lesson']['active'] == 1): ?><?php echo '<input class = "inputCheckBox" type = "checkbox" name = "'; ?><?php echo $this->_tpl_vars['lesson']['id']; ?><?php echo '" checked>'; ?><?php else: ?><?php echo '<input class = "inputCheckBox" type = "checkbox" name = "'; ?><?php echo $this->_tpl_vars['lesson']['id']; ?><?php echo '">'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '</td></tr>'; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '</table><br /><table width = "100%"><tr><td align = "center">'; ?><?php if ($_GET['ctg'] == 'personal'): ?><?php echo '<input class = "flatButton" name="users_to_lesson" type="submit" value="'; ?><?php echo @_SUBMIT; ?><?php echo '">'; ?><?php endif; ?><?php echo '</td></tr></table></form>'; ?><?php else: ?><?php echo '<table width = "100%"><tr><td class = "emptyCategory">'; ?><?php echo @_THEREARENOLESSONSDEFINEDFORTHEUSERLANGUAGE; ?><?php echo '</td></tr></table>'; ?><?php endif; ?><?php echo ''; ?><?php $this->_smarty_vars['capture']['user_to_lesson'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php echo smarty_function_eF_template_printBlock(array('title' => @_LESSONSELECT,'data' => $this->_smarty_vars['capture']['user_to_lesson'],'image' => '32x32/courses.png'), $this);?><?php echo ''; ?><?php $this->_smarty_vars['capture']['mylessonsModule'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'social' )): ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_OP'] == 'dashboard'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='<a class="titleLink" href ="')) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=control_panel">') : smarty_modifier_cat($_tmp, '?ctg=control_panel">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_HOME) : smarty_modifier_cat($_tmp, @_HOME)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>&nbsp;&raquo;&nbsp;<a class="titleLink" href ="') : smarty_modifier_cat($_tmp, '</a>&nbsp;&raquo;&nbsp;<a class="titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=social&op=dashboard">') : smarty_modifier_cat($_tmp, '?ctg=social&op=dashboard">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_DASHBOARD) : smarty_modifier_cat($_tmp, @_DASHBOARD)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['T_OP'] == 'people'): ?><?php echo ''; ?><?php if ($_SESSION['s_lessons_ID'] != ""): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href ='".($_SERVER['PHP_SELF'])."?ctg=social&op=people&display=2'>".(@_PEOPLE)."</a>"); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='<a class="titleLink" href ="')) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=control_panel">') : smarty_modifier_cat($_tmp, '?ctg=control_panel">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_HOME) : smarty_modifier_cat($_tmp, @_HOME)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>&nbsp;&raquo;&nbsp;<a class="titleLink" href ="') : smarty_modifier_cat($_tmp, '</a>&nbsp;&raquo;&nbsp;<a class="titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=social&op=people">') : smarty_modifier_cat($_tmp, '?ctg=social&op=people">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_PEOPLE) : smarty_modifier_cat($_tmp, @_PEOPLE)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['T_OP'] == 'timeline'): ?><?php echo ''; ?><?php if (isset ( $_GET['lessons_ID'] )): ?><?php echo ''; ?><?php $this->assign('title', ($this->_tpl_vars['title'])."&nbsp;&raquo;&nbsp;<a class = 'titleLink' href ='".($_SERVER['PHP_SELF'])."?ctg=social&op=timeline&lessons_ID=".($_SESSION['s_lessons_ID'])."&all=1'>".(@_TIMELINE)."</a>"); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='<a class="titleLink" href ="')) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=control_panel">') : smarty_modifier_cat($_tmp, '?ctg=control_panel">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_HOME) : smarty_modifier_cat($_tmp, @_HOME)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>&nbsp;&raquo;&nbsp;<a class="titleLink" href ="') : smarty_modifier_cat($_tmp, '</a>&nbsp;&raquo;&nbsp;<a class="titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=social&op=timeline">') : smarty_modifier_cat($_tmp, '?ctg=social&op=timeline">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_TIMELINE) : smarty_modifier_cat($_tmp, @_TIMELINE)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php ob_start(); ?><?php echo '<tr><td class = "moduleCell">'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'social.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo '</td></tr>'; ?><?php $this->_smarty_vars['capture']['moduleSocial'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'emails' )): ?><?php echo ''; ?><?php $this->assign('category', 'company'); ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='<a class="titleLink" href ="')) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_ORGANIZATION) : smarty_modifier_cat($_tmp, @_ORGANIZATION)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>&nbsp;&raquo;&nbsp;<a class="titleLink" href ="') : smarty_modifier_cat($_tmp, '</a>&nbsp;&raquo;&nbsp;<a class="titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=emails">') : smarty_modifier_cat($_tmp, '?ctg=emails">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_EMAILS) : smarty_modifier_cat($_tmp, @_EMAILS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "emails.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_CTG'] ) && $this->_tpl_vars['T_CTG'] == 'module_hcd' )): ?><?php echo ''; ?><?php $this->assign('category', 'company'); ?><?php echo ''; ?><?php echo ''; ?><?php if ($_GET['op'] != 'reports'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='<a class="titleLink" href ="')) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=control_panel">') : smarty_modifier_cat($_tmp, '?ctg=control_panel">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_HOME) : smarty_modifier_cat($_tmp, @_HOME)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class="titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class="titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_ORGANIZATION) : smarty_modifier_cat($_tmp, @_ORGANIZATION)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($_GET['op'] == 'branches'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=branches">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=branches">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_BRANCHES) : smarty_modifier_cat($_tmp, @_BRANCHES)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php if ($_GET['add_branch'] || $_GET['edit_branch']): ?><?php echo ''; ?><?php if ($_GET['edit_branch'] != ""): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=branches&edit_branch=') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=branches&edit_branch=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['edit_branch']) : smarty_modifier_cat($_tmp, $_GET['edit_branch'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_BRANCHRECORD) : smarty_modifier_cat($_tmp, @_BRANCHRECORD)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=branches&add_branch=1">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=branches&add_branch=1">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_BRANCHRECORD) : smarty_modifier_cat($_tmp, @_BRANCHRECORD)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($_GET['op'] == 'skills'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=skills">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=skills">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_SKILLS) : smarty_modifier_cat($_tmp, @_SKILLS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php if ($_GET['add_skill'] || $_GET['edit_skill']): ?><?php echo ''; ?><?php if ($_GET['edit_skill'] != ""): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=skills&edit_skill=') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=skills&edit_skill=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['edit_skill']) : smarty_modifier_cat($_tmp, $_GET['edit_skill'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_SKILLDATA) : smarty_modifier_cat($_tmp, @_SKILLDATA)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=skills&add_skill=1">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=skills&add_skill=1">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_SKILLDATA) : smarty_modifier_cat($_tmp, @_SKILLDATA)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($_GET['op'] == 'job_descriptions'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=job_descriptions">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=job_descriptions">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_JOBDESCRIPTIONS) : smarty_modifier_cat($_tmp, @_JOBDESCRIPTIONS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php if ($_GET['add_job_description'] || $_GET['edit_job_description']): ?><?php echo ''; ?><?php if ($_GET['edit_job_description'] != ""): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=job_descriptions&edit_job_description=') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=job_descriptions&edit_job_description=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['edit_job_description']) : smarty_modifier_cat($_tmp, $_GET['edit_job_description'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_JOBDESCRIPTIONDATA) : smarty_modifier_cat($_tmp, @_JOBDESCRIPTIONDATA)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href = "')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=job_descriptions&add_job_description=1">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=job_descriptions&add_job_description=1">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_JOBDESCRIPTIONDATA) : smarty_modifier_cat($_tmp, @_JOBDESCRIPTIONDATA)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($_GET['op'] == 'reports'): ?><?php echo ''; ?><?php if ($_SESSION['s_type'] == 'administrator'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='<a class="titleLink" href ="')) ? $this->_run_mod_handler('cat', true, $_tmp, $_SESSION['s_type']) : smarty_modifier_cat($_tmp, $_SESSION['s_type'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '.php?ctg=statistics">') : smarty_modifier_cat($_tmp, '.php?ctg=statistics">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_STATISTICS) : smarty_modifier_cat($_tmp, @_STATISTICS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=reports">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=reports">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_SEARCHFOREMPLOYEE) : smarty_modifier_cat($_tmp, @_SEARCHFOREMPLOYEE)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='<a class="titleLink" href ="')) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=control_panel">') : smarty_modifier_cat($_tmp, '?ctg=control_panel">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_HOME) : smarty_modifier_cat($_tmp, @_HOME)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class="titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class="titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_ORGANIZATION) : smarty_modifier_cat($_tmp, @_ORGANIZATION)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=reports">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=reports">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_SEARCHEMPLOYEE) : smarty_modifier_cat($_tmp, @_SEARCHEMPLOYEE)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($_GET['op'] == 'chart'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=chart">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=chart">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_ORGANIZATIONCHARTTREE) : smarty_modifier_cat($_tmp, @_ORGANIZATIONCHARTTREE)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($_GET['op'] == 'placements'): ?><?php echo ''; ?><?php $this->assign('title', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['title'])) ? $this->_run_mod_handler('cat', true, $_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="') : smarty_modifier_cat($_tmp, '&nbsp;&raquo;&nbsp;<a class = "titleLink" href ="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $_SERVER['PHP_SELF']) : smarty_modifier_cat($_tmp, $_SERVER['PHP_SELF'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '?ctg=module_hcd&op=placements">') : smarty_modifier_cat($_tmp, '?ctg=module_hcd&op=placements">')))) ? $this->_run_mod_handler('cat', true, $_tmp, @_PLACEMENTS) : smarty_modifier_cat($_tmp, @_PLACEMENTS)))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php ob_start(); ?><?php echo '<tr><td class = "moduleCell">'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'module_hcd.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo '</td></tr>'; ?><?php $this->_smarty_vars['capture']['moduleHCD'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_SOLVED_TESTS'] ) )): ?><?php echo ''; ?><?php ob_start(); ?><?php echo ''; ?><?php ob_start(); ?><?php echo ''; ?><?php unset($this->_sections['solved_tests_list']);
$this->_sections['solved_tests_list']['name'] = 'solved_tests_list';
$this->_sections['solved_tests_list']['loop'] = is_array($_loop=$this->_tpl_vars['T_SOLVED_TESTS']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['solved_tests_list']['show'] = true;
$this->_sections['solved_tests_list']['max'] = $this->_sections['solved_tests_list']['loop'];
$this->_sections['solved_tests_list']['step'] = 1;
$this->_sections['solved_tests_list']['start'] = $this->_sections['solved_tests_list']['step'] > 0 ? 0 : $this->_sections['solved_tests_list']['loop']-1;
if ($this->_sections['solved_tests_list']['show']) {
    $this->_sections['solved_tests_list']['total'] = $this->_sections['solved_tests_list']['loop'];
    if ($this->_sections['solved_tests_list']['total'] == 0)
        $this->_sections['solved_tests_list']['show'] = false;
} else
    $this->_sections['solved_tests_list']['total'] = 0;
if ($this->_sections['solved_tests_list']['show']):

            for ($this->_sections['solved_tests_list']['index'] = $this->_sections['solved_tests_list']['start'], $this->_sections['solved_tests_list']['iteration'] = 1;
                 $this->_sections['solved_tests_list']['iteration'] <= $this->_sections['solved_tests_list']['total'];
                 $this->_sections['solved_tests_list']['index'] += $this->_sections['solved_tests_list']['step'], $this->_sections['solved_tests_list']['iteration']++):
$this->_sections['solved_tests_list']['rownum'] = $this->_sections['solved_tests_list']['iteration'];
$this->_sections['solved_tests_list']['index_prev'] = $this->_sections['solved_tests_list']['index'] - $this->_sections['solved_tests_list']['step'];
$this->_sections['solved_tests_list']['index_next'] = $this->_sections['solved_tests_list']['index'] + $this->_sections['solved_tests_list']['step'];
$this->_sections['solved_tests_list']['first']      = ($this->_sections['solved_tests_list']['iteration'] == 1);
$this->_sections['solved_tests_list']['last']       = ($this->_sections['solved_tests_list']['iteration'] == $this->_sections['solved_tests_list']['total']);
?><?php echo '<a href = "student.php?ctg=tests&view_unit='; ?><?php echo $this->_tpl_vars['T_SOLVED_TESTS'][$this->_sections['solved_tests_list']['index']]['content_ID']; ?><?php echo '" title="'; ?><?php echo $this->_tpl_vars['T_SOLVED_TESTS'][$this->_sections['solved_tests_list']['index']]['name']; ?><?php echo '">'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['T_SOLVED_TESTS'][$this->_sections['solved_tests_list']['index']]['name'])) ? $this->_run_mod_handler('eF_truncate', true, $_tmp, 22, "...", true) : smarty_modifier_eF_truncate($_tmp, 22, "...", true)); ?><?php echo ' ('; ?><?php echo $this->_tpl_vars['T_SOLVED_TESTS'][$this->_sections['solved_tests_list']['index']]['score']; ?><?php echo '%)</a><br/>'; ?><?php endfor; else: ?><?php echo '<tr><td class = "emptyCategory">'; ?><?php echo @_NOSOLVEDTESTSFOUND; ?><?php echo '</td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php $this->_smarty_vars['capture']['t_solved_tests_code'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php echo smarty_function_eF_template_printSide(array('title' => @_SOLVEDTESTS,'data' => $this->_smarty_vars['capture']['t_solved_tests_code'],'array' => $this->_tpl_vars['T_SOLVED_TESTS'],'id' => 'solved_tests'), $this);?><?php echo ''; ?><?php $this->_smarty_vars['capture']['sideSolvedTests'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['T_RELATED_POSTS'] ) )): ?><?php echo ''; ?><?php ob_start(); ?><?php echo ''; ?><?php ob_start(); ?><?php echo ''; ?><?php unset($this->_sections['related_posts_list']);
$this->_sections['related_posts_list']['name'] = 'related_posts_list';
$this->_sections['related_posts_list']['loop'] = is_array($_loop=$this->_tpl_vars['T_RELATED_POSTS']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['related_posts_list']['show'] = true;
$this->_sections['related_posts_list']['max'] = $this->_sections['related_posts_list']['loop'];
$this->_sections['related_posts_list']['step'] = 1;
$this->_sections['related_posts_list']['start'] = $this->_sections['related_posts_list']['step'] > 0 ? 0 : $this->_sections['related_posts_list']['loop']-1;
if ($this->_sections['related_posts_list']['show']) {
    $this->_sections['related_posts_list']['total'] = $this->_sections['related_posts_list']['loop'];
    if ($this->_sections['related_posts_list']['total'] == 0)
        $this->_sections['related_posts_list']['show'] = false;
} else
    $this->_sections['related_posts_list']['total'] = 0;
if ($this->_sections['related_posts_list']['show']):

            for ($this->_sections['related_posts_list']['index'] = $this->_sections['related_posts_list']['start'], $this->_sections['related_posts_list']['iteration'] = 1;
                 $this->_sections['related_posts_list']['iteration'] <= $this->_sections['related_posts_list']['total'];
                 $this->_sections['related_posts_list']['index'] += $this->_sections['related_posts_list']['step'], $this->_sections['related_posts_list']['iteration']++):
$this->_sections['related_posts_list']['rownum'] = $this->_sections['related_posts_list']['iteration'];
$this->_sections['related_posts_list']['index_prev'] = $this->_sections['related_posts_list']['index'] - $this->_sections['related_posts_list']['step'];
$this->_sections['related_posts_list']['index_next'] = $this->_sections['related_posts_list']['index'] + $this->_sections['related_posts_list']['step'];
$this->_sections['related_posts_list']['first']      = ($this->_sections['related_posts_list']['iteration'] == 1);
$this->_sections['related_posts_list']['last']       = ($this->_sections['related_posts_list']['iteration'] == $this->_sections['related_posts_list']['total']);
?><?php echo '<a href = "" title = "" class = "tree_forum"></a><br/>'; ?><?php endfor; else: ?><?php echo '<tr><td class = "emptyCategory">'; ?><?php echo @_NORELATEDPOSTSFOUND; ?><?php echo '</td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php $this->_smarty_vars['capture']['t_related_posts_code'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php echo ''; ?><?php echo smarty_function_eF_template_printSide(array('title' => @_ATFORUM,'data' => $this->_smarty_vars['capture']['t_related_posts_code'],'array' => $this->_tpl_vars['T_RELATED_POSTS'],'id' => 'related_posts'), $this);?><?php echo ''; ?><?php $this->_smarty_vars['capture']['sideRelatedPosts'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_CTG'] == 'module'): ?><?php echo ''; ?><?php $this->assign('title', $this->_tpl_vars['T_MODULE_NAVIGATIONAL_LINKS']); ?><?php echo ''; ?><?php ob_start(); ?><?php echo '<tr><td class = "moduleCell">'; ?><?php if ($this->_tpl_vars['T_MODULE_SMARTY']): ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['T_MODULE_SMARTY'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo $this->_tpl_vars['T_MODULE_PAGE']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php echo '</td></tr>'; ?><?php $this->_smarty_vars['capture']['importedModule'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php echo ''; ?><?php echo '<div id = "bookmarks_div_code" style = "display:none">'; ?><?php ob_start(); ?><?php echo '<div id = "bookmarks_div"></div>'; ?><?php $this->_smarty_vars['capture']['t_bookmarks_code'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php echo smarty_function_eF_template_printBlock(array('title' => @_SHOWBOOKMARKS,'data' => $this->_smarty_vars['capture']['t_bookmarks_code'],'image' => "32x32/bookmark.png"), $this);?><?php echo '</div>'; ?><?php echo ''; ?><?php echo '
<script>
function changeItemColor(item, color) {
//alert(document.getElementById(item).style.backgroundColor + \' \' +color);
   document.getElementById(item).style.backgroundColor = color;
}
</script>
'; ?><?php echo ''; ?><?php ob_start(); ?><?php echo ''; ?><?php if ($_GET['message']): ?><?php echo ''; ?><?php echo smarty_function_eF_template_printMessageBlock(array('content' => $_GET['message'],'type' => $_GET['message_type']), $this);?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_MESSAGE']): ?><?php echo ''; ?><?php echo smarty_function_eF_template_printMessageBlock(array('content' => $this->_tpl_vars['T_MESSAGE'],'type' => $this->_tpl_vars['T_MESSAGE_TYPE']), $this);?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_SEARCH_MESSAGE'] || $_GET['search_message']): ?><?php echo ''; ?><?php if ($_GET['search_message']): ?><?php echo ''; ?><?php $this->assign('T_SEARCH_MESSAGE', $_GET['search_message']); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php echo smarty_function_eF_template_printMessageBlock(array('content' => $this->_tpl_vars['T_SEARCH_MESSAGE'],'type' => $this->_tpl_vars['T_MESSAGE_TYPE']), $this);?><?php echo ''; ?><?php endif; ?><?php echo '<table class = "centerTable">'; ?><?php echo $this->_smarty_vars['capture']['moduleControlPanel']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleProjects']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleLessonInformation']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleNewsPage']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleComments']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleDigitalLibraryFull']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleCalendarPage']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleNavigation']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleNewLessonsList']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleLessonsList']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleTests']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleShowTest']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleSpecificContent']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleGlossary']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleFullCalendar']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleStatistics']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleSurvey']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['modulePersonal']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleSearchResults']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleShowUnit']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleLessonPlan']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['importedModule']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleHCD']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleNewUser']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleEmail']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleUsers']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['mylessonsModule']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleSocial']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleFileManager']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleMessagesPage']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleForum']; ?><?php echo ''; ?><?php echo $this->_smarty_vars['capture']['moduleProgress']; ?><?php echo '</table>'; ?><?php $this->_smarty_vars['capture']['center_code'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php if (! $this->_tpl_vars['T_LAYOUT_CLASS']): ?><?php echo ''; ?><?php $this->assign('layoutClass', 'centerFull'); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('layoutClass', $this->_tpl_vars['T_LAYOUT_CLASS']); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php ob_start(); ?><?php echo '<table class = "centerTable">'; ?><?php echo $this->_smarty_vars['capture']['moduleSideOperations']; ?><?php echo '</table>'; ?><?php $this->_smarty_vars['capture']['left_code'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php ob_start(); ?><?php echo '<table class = "centerTable">'; ?><?php echo $this->_smarty_vars['capture']['moduleSideOperations']; ?><?php echo '</table>'; ?><?php $this->_smarty_vars['capture']['right_code'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php ob_start(); ?><?php echo '<span id = "tab_handles" class = "headerText">'; ?><?php if ($this->_tpl_vars['T_THEME_SETTINGS']->options['sidebar_interface'] != 0): ?><?php echo '&nbsp;|&nbsp;'; ?><?php endif; ?><?php echo ''; ?><?php if ($_SESSION['s_lessons_ID'] != '' && ! $this->_tpl_vars['T_CONFIGURATION']['disable_bookmarks'] && $this->_tpl_vars['T_CURRENT_LESSON']->options['bookmarking']): ?><?php echo '<img class = "ajaxHandle" src = "images/16x16/bookmark.png" alt = "'; ?><?php echo @_SHOWBOOKMARKS; ?><?php echo '" title = "'; ?><?php echo @_SHOWBOOKMARKS; ?><?php echo '" onclick = "getBookmarks(this);"/>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_CTG'] == 'content'): ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_UNIT']['options']['maximize_viewport'] != 1): ?><?php echo '<img class = "ajaxHandle" src = "images/16x16/navigate_'; ?><?php if (( ! $this->_tpl_vars['T_CURRENT_LESSON']->options['show_right_bar'] && $this->_tpl_vars['_student_'] ) || $_COOKIE['rightSideBar'] == 'hidden'): ?><?php echo 'left'; ?><?php else: ?><?php echo 'right'; ?><?php endif; ?><?php echo '.png" alt = "'; ?><?php echo @_TOGGLESIDEBAR; ?><?php echo '" title = "'; ?><?php echo @_TOGGLESIDEBAR; ?><?php echo '" onclick = "toggleRightSidebar(this, true)"/>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['T_HORIZONTAL_BAR'] == 1): ?><?php echo '<img class = "ajaxHandle" src = "images/16x16/navigate_'; ?><?php if (( ! $this->_tpl_vars['T_CURRENT_LESSON']->options['show_horizontal_bar'] && $this->_tpl_vars['_student_'] ) || $_COOKIE['horizontalSideBar'] == 'hidden'): ?><?php echo 'down'; ?><?php else: ?><?php echo 'up'; ?><?php endif; ?><?php echo '.png" alt = "'; ?><?php echo @_TOGGLESIDEBAR; ?><?php echo '" title = "'; ?><?php echo @_TOGGLESIDEBAR; ?><?php echo '" onclick = "toggleHorizontalSidebar(this, true)"/>'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '</span>'; ?><?php $this->_smarty_vars['capture']['t_path_additional_code'] = ob_get_contents(); ob_end_clean(); ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/common_layout.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "includes/closing.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script>
<?php if ($this->_tpl_vars['T_CTG'] == 'content'): ?>     var ctg = '<?php echo $_GET['type']; ?>
';
<?php else: ?>
    var ctg = '<?php echo $this->_tpl_vars['T_CTG']; ?>
';
<?php endif; ?>
<?php if ($this->_tpl_vars['T_NO_HORIZONTAL_MENU'] && $this->_tpl_vars['T_CTG'] != 'content' && $this->_tpl_vars['T_CTG'] != 'tests' && ! $this->_tpl_vars['T_POPUP_MODE']): ?>
 showLeftSidebar();
<?php endif; ?>
<?php if ($this->_tpl_vars['T_SHOW_LOADED_LESSON_OPTIONS']): ?>
if (top.sideframe && top.sideframe.hideAllLessonGeneral)
    top.sideframe.hideAllLessonGeneral();
<?php endif; ?>
<?php if (( isset ( $this->_tpl_vars['T_CHANGE_LESSON'] ) || isset ( $this->_tpl_vars['T_REFRESH_SIDE'] ) )): ?>
    <?php if (isset ( $this->_tpl_vars['T_PERSONAL_CTG'] )): ?>
        <?php if ($_SESSION['s_lessons_ID'] != ''): ?>
         if (top.sideframe) top.sideframe.location = "new_sidebar.php?sbctg=personal&new_lesson_id=<?php echo $_SESSION['s_lessons_ID']; ?>
";
        <?php else: ?>
         if (top.sideframe) top.sideframe.location = "new_sidebar.php?sbctg=personal";
        <?php endif; ?>
    <?php else: ?>
     <?php if (isset ( $this->_tpl_vars['T_SPECIFIC_LESSON_CTG'] )): ?>
      if (top.sideframe) top.sideframe.location = "new_sidebar.php?ctg=lessons&new_lesson_id=<?php echo $_SESSION['s_lessons_ID']; ?>
&sbctg=<?php echo $this->_tpl_vars['T_SPECIFIC_LESSON_CTG']; ?>
";
        <?php else: ?>
         if (top.sideframe) top.sideframe.location = "new_sidebar.php?ctg=lessons&new_lesson_id=<?php echo $_SESSION['s_lessons_ID']; ?>
";
        <?php endif; ?>
    <?php endif; ?>
<?php endif; ?>
</script>
</body>
</html>